﻿ <div class="tab">
	<ul class="login">
		<li class="left">&nbsp;</li>
		 @if (Request.IsAuthenticated)
         {
            <li>Hello @User.Identity.Name</li>
         }
         else
         {
            <li>Hello Guest!</li>
         }
		<li class="sep">|</li>
		<li id="toggle">
            @if (Request.IsAuthenticated)
            {
                <li>@Html.ActionLink("LogOff","LogOff","Account")</li>
            }
            else
            {
                <a id="open" class="open" href="#">Log In | Register</a>
            }
			<a id="close" style="display: none;" class="close" href="#">Close Panel</a>			
		</li>
		<li class="right">&nbsp;</li>
	</ul> 
</div>
 

